﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tippelde.Entities;

namespace Tippelde.Services.Dtos
{
    public class EventHeaderData
    {
        public EventHeaderData()
        {
            HomeTeam = new TeamHeaderData();
            AwayTeam = new TeamHeaderData();
            Result = new ResultHeaderData();
        }
        
        public int Id { get; set; }
        public string Name { get; set; }

        public string ShortName { get; set; }
        public string Description { get; set; }
        public EventStatus Status { get; set; }

        public TeamHeaderData HomeTeam { get; set; }
        public TeamHeaderData AwayTeam { get; set; }

        public DateTime EventDate { get; set; }
        public DateTime? BetStartAt { get; set; }
        public DateTime? BetEndAt { get; set; }
 
        public ResultHeaderData Result { get; set; }
        public bool HasResult { get; set; }
    }
}
